﻿using MetroDataApi.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace MetroDataApi.Controllers
{
    public class MonitorPointsGalleryController : ApiController
    {
        public HttpResponseMessage Get(int prjId)
        {
            var monitorPoints = ProjectsHelper.GetMonitorPoints(prjId);

            return Request.CreateResponse(HttpStatusCode.OK, monitorPoints, "application/json");
        }
    }
}
